package com.leyou.search.service;

import com.leyou.pojo.dto.SpuDto;
import com.leyou.search.entity.Goods;
import com.leyou.search.entity.Search;
import com.leyou.starter.elastic.dto.PageInfo;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

import java.util.List;


public interface SearchService {


    void getData();

    Mono<List<String>> autoCompletion(String key);

    Mono<PageInfo<Goods>> searchGoodsByCondition(Search search);
}
